• unordered list replace bullet by image according to level, if last level text as link

    Updated: 2010-01-31 16:19:23
    Good day to you all, I was wondering if there is a way to change the the look of wach level of a list. Ex: Last level, text = link 1st level, has 1 image instead of bullet and text in bold 2nd level as another image as bullet and text in bold 3rd level, if not last level, as...

  • sql statement help

    Updated: 2010-01-31 15:48:32
    I'm creating a quiz script so that a user can enter a quiz name, and then add questions and answers to that quiz. I have an SQL statement where I join 2 tables (questions and answers), and which is part of a query that echoes out criteria that matches the SQL. I need to change the SQL statement...

  • Joomla! add newsletter

    Updated: 2010-01-31 15:42:19
    http://demo.joomlaplates.net/jp_poker/index.php?option=com_frontpage&Itemid=1 Would it be possible to add the following to the template website above? - "Subscribe to newsletter" where the "Login Form" is located (including setting up a database where names and e-mail addresses are stored and...

  • Need Joomla! assistance

    Updated: 2010-01-31 15:05:10
    I'm in need of help with implementing Joomla! CMS+website to my FTP server. DOMAIN: http://www.pkrsource.com/ HOST: http://www.vaioweb.com/ http://shop.vaioweb.com/hosting.php (The linux €6/mo) I want to buy the following template:

  • Simple Image Switcher - I Broke It!

    Updated: 2010-01-31 14:37:45
    I have a WP theme that before I started tweaking it had an image switcher on the home page. When you click any of the 4 thumbnails under the main header, the image on the right switches to the hi-res version of the thumbnail but now it's broken. I've re-uploaded Wordpress core, and re-uploaded...

  • Need help with school for if loop problem!!

    Updated: 2010-01-31 14:03:46
    Hi all I'm a student and need help with this javascrip program. I can't get it to work right you can put user1 and paas2 and it still lets you in. I don't know how loops works. Thanks assign 2 JavaScript

  • Anyone willing to start Browser Game with me?

    Updated: 2010-01-31 13:49:45
    Hello, i'm Antto, the owner of iBasketball. I'm starting a game named iBasketball, if you wanna join my project it's easy. 5 Steps. 1.Get an email. 2.Send message to: ibasketballstaff@hotmail.com 3.Message should be something like: Code: ---------

  • Internet Explorer no load

    Updated: 2010-01-31 13:38:00
    Hello, I've had this site up for about a year and a half now, and recently I had to install a new theme. It loads up great on Firefox, but in Internet Explorer, it won't load at all. Would anyone happen to know what the issue is? http://www.paranormalknowledge.com

  • Swishmax template tutorials.

    Updated: 2010-01-31 13:17:30
    Swishmax template tutorials. anybody here knew where I can find the tutorial how to build template using swishmax. I'd tried to search but I only find swishmax template,, i want a tutorial how to build that template.

  • Outputting content from MySQL

    Updated: 2010-01-31 11:57:51
    Hi, how do I output content from MySQL into a page? What's the code? Thanks.

  • Matcghing XML Data to database

    Updated: 2010-01-31 00:51:02
    Hi Guys, What i'm trying to do is pull from and xml file and loop from the database, if 2 codes match then perform an action. code: PHP: ---------

  • Help with declaring event handlers

    Updated: 2010-01-31 00:35:38
    Today I have been embedding some Google Maps on my website. When I got around to putting in event handlers for markers on the map I ran into some trouble with how to declare them in the way I have the map setup. The issue is that I have an array, label, and want to indicate a single element...

  • Echo Problem Help

    Updated: 2010-01-31 00:23:49
    Hello. On one page, called editor.php, I have a tinymce editor with a text area that can be submitted. It has a name of "elm1". On a second page (the page that submit directs to called outputpage.php) I have PHP: --------- --------- But it...

  • Find an Item in an Array (PHP)

    Updated: 2010-01-31 00:19:48
    On occasion, I’m sure you’ve found yourself in a position where you need to find an item inside of an array. PHP offers a very simple method to do just that. The array_search function lets you search for the item and then tells you what the index for that item is. This function works with [...] Related posts:Some Handy Array Functions in PHP Adding/Replacing Elements Inside a PHP Array Adding and Removing Items in PHP Arrays

  • Running JSLint With Your Ant Build

    Updated: 2010-01-28 17:58:36
    M att S nider.com Home RSS Feed Table of Contents Tags Archives About Options Running JSLint With Your Ant Build by Matt Snider January 28, 2010 9:58 am In the article , Using Ant to Consolidate CSS and JavaScript we discussed how to use Ant for consolidating and compressing JavaScript and CSS . Today we will take that a step further by adding JSLint JavaScript validation to the process . JSLint is a code quality tool that checks your code for common JavaScript errors , best practices , and optimizations . Keep in mind that using JSLint will hurt your feelings , so only read on if you are either brave or . foolhardy How It's Done . We will be modifying the ant build script from YUI-EXT-MVC at http : yui-ext-mvc.googlecode.com svn trunk build.xml First you need two : files Get the latest version of Rhino at http : www.mozilla.org rhino Get the latest version of JSLint for Rhino at http : www.jslint.com rhino Extract the JAR from the Rhino download it was named js-14.jar for me , so I renamed it to the more useful rhino-1.7R2.jar and the JSLint JavaScript file . Move them both to a folder accessible by your build . Setup build properties pointing to the two files you : downloaded

  • Adding/Replacing Elements Inside a PHP Array

    Updated: 2010-01-28 15:56:12
    In one of my recent posts, I explained how to use array_push, array_pop, array_shift and array_unshift to add and remove elements from the beginning and end of PHP arrays. Today, I’m going to introduce you to the array_splice function, which allows you to insert elements into the middle of the array. Actually, it lets you [...] Related posts:Adding and Removing Items in PHP Arrays Finding and Replacing the First or Last Substring in a String Some Handy Array Functions in PHP

  • Scheduled Zune Service “Pause”

    Updated: 2010-01-25 14:48:24
    The Zune team has announced that this evening, beginning at 10 p.m. PST, the Zune network will be unavailable for a period of up to 24 hours so they can implement some major backend updates and changes to the service. Apparently the changes are being made to help improve the performance of the network and [...] Related posts:Zune Software Update – Zune 2.5 Recent Zune Update Offers More Games – Not Much Else Zune 3.0 Is Here

  • PDFmyURL – Convert Your Web Pages to PDF

    Updated: 2010-01-25 02:35:31
    Anyone who’s spent time looking for solutions to allow their Web site visitors to convert pages to PDF has most likely discovered that the majority of the tools available for doing so are lacking in one way or another. Trying to build one in PHP from scratch is an extremely daunting and unsatisfying task. Using [...] Related posts:How Your Pages Should Be Laid Out Creating a Header/Footer to be Used on all Pages Wordpress: Style Top Level Pages Differently

  • WordPress Foundation

    Updated: 2010-01-22 05:38:09
    It is with extremely great pleasure that I point you to the first post at the new WordPress Foundation site. Not only am I excited about the things that will happen under the auspices of the Foundation, I’m excited to see a site running the 3.0 development version and the nascent theme called 2010. Go [...]

  • Firefox 3.6 Released

    Updated: 2010-01-21 22:09:52
    Firefox 3.6 was released today – the company notes a 20% speed improvement over version 3.5.  Apparently over 350 million users use Firefox as their browser of choice. Here’s a list from Firefox of the new features in 3.6: Personas: Personalize the look of your Firefox by selecting new themes called Personas in a single click and [...] Related posts:Mozilla Releases Firefox 3.5 Comparing 3D Environments in Your Browser Google Chrome – Early Version Released for Mac and Linux

  • Chrome Improves Auto-Complete

    Updated: 2010-01-20 03:05:12
    A few days ago, I opened Chrome on my Vista 64-bit computer and noticed something different when I went to fill in a form. The auto-complete feature was different than it had been in the past; different than any other browser I’ve used. Now, the auto-complete (or auto-suggest, I guess, is more appropriate) feature on [...] Related posts:Google Chrome – Early Version Released for Mac and Linux Chrome for Linux Moving Along Flash Enabled in Chrome on Linux?

  • Finding the ID of a Newly Inserted MySQL Row

    Updated: 2010-01-17 02:31:28
    If you’re anything like me, you generally set up an auto-incrementing integer field in most of your MySQL tables that can be used as the primary key for your records. A lot of times, after inserting new information into the database, you need a way to find out what ID was assigned to your data [...] Related posts:Using MySQL with PHP – Part 1 Choosing Random Items from a MySQL Table Using PHP to Copy an SQL Server Table to MySQL

  • Web Development News January 2009 A

    Updated: 2010-01-15 02:40:19
    M att S nider.com Home RSS Feed Table of Contents Tags Archives About Options Web Development News January 2009 A by Matt Snider January 14, 2010 6:40 pm Flash in JavaScript Tobias Schneider has written an open source Flash runtime written in JavaScript and SVG . Check out these Demo The full source is available on GitHub . Inheritance Patterns Stoyan Stefanov has written a great article about the JavaScript Inheritance Patterns and how they are used available in YUI 3. Interestingly , Douglas Crockford , is a proponent of Prototypal inheritance where children properties functions override those of the parent , without replacing the parent property function . Code Resuse Patterns in YUI3 Stoyan Stefanov has written another great article about the Code Resuse Patterns in YUI3 This article talks about the various ways you can augment , clone , or merge . objects Comments 0 Tags : javascript news Thanks for visiting . Don't forget to subscribe to the rss feed Please use the contact page or leave a comment if you have questions .

  • Adding and Removing Items in PHP Arrays

    Updated: 2010-01-14 23:19:40
    When working with arrays, you may often find yourself in a position where you need to add a few extra items to the array or remove some of the items you already added. PHP has a few functions that are designed to help you with this process, allowing you to add new elements to the [...] Related posts:Adding/Replacing Elements Inside a PHP Array Manipulating the DOM with javascript – part 3 of 4 Some Handy Array Functions in PHP

  • Wordpress: Style Top Level Pages Differently

    Updated: 2010-01-09 02:31:24
    Recently, I needed to figure out how to apply different styles to the top level pages on a Wordpress site than those applied to child pages. After a little digging, I figured out a fairly easy way to determine which is which. Granted, I could easily create a custom page template and assign it to each [...] Related posts:Integrating Wordpress into dynamic templates Object-Oriented Programming – Parents and Children Empty() and Isset() in PHP

  • ⚃ Rolling Dice with JS and Unicode ⚂

    Updated: 2010-01-07 03:53:48
    I recently discovered the unicode xscreensaver hack, and have had it running on my secondary monitor for the heck of it. I found out that there are dice face symbols, and I was inspired to do something with them. So, I made a simple Unicode-dice roller in JavaScript. I know the same thing could be done [...]

  • Optmizing String Comparisons

    Updated: 2010-01-05 08:37:03
    M att S nider.com Home RSS Feed Table of Contents Tags Archives About Options Optmizing String Comparisons by Matt Snider January 5, 2010 12:37 pm This article will discuss a simple optimization to save you a few characters and a little performance when evaluating equality . In JavaScript , there are two types of equality : structural equality where the content of two references are the same , and physical equality where two object point to the same reference or are structurally equal and have the same object type . For the most part I use physical equality when comparing values , to ensure any variable is exactly what it is expected to be . For example , consider this function : Example 1 : Using Physical Equality function foo(x if 2 x return Matched 2' else if 2' x return Matched 2 else return Did not match' In this simple example , physical equality is used to determine if the provided value is 2 the number or 2 the string . For all non-string values , I recommend using physical eqaulity and careful type management throughout your code . However , when comparing string variables against string constants that are not strings of numbers I recommend using structural equality

Last Months Items